package com.tanger.permission.entity.permission;

import com.google.common.base.MoreObjects;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * TODO 功能暂未实现
 * @Description 权限按钮实体类
 * @Author Hchenbin
 * @Date 2022/6/27 12:12
 * @Version 1.0
 */
@Data
@ApiModel(value = "EntityPermissionButton",description = "权限按钮实体类")
public class EntityPermissionButton implements Serializable {

	@ApiModelProperty(value = "ID")
	private Long id;
	@ApiModelProperty(value = "权限ID")
	private Long menuId;//即permissionId
	@ApiModelProperty(value = "按钮ID")
	private Long buttonId;
	@ApiModelProperty(value = "创建时间")
	private Long createTime;

	@Override
	public String toString() {
		return MoreObjects.toStringHelper(this)
			.add("id", id)
			.add("menuId", menuId)
			.add("buttonId", buttonId)
			.add("createTime", createTime)
			.toString();
	}
}
